#! /bin/bash

set -e

SCRIPT_NAME=${BASH_SOURCE[0]}
SCRIPT_DIR=$(dirname $(realpath ${SCRIPT_NAME}))
cd $SCRIPT_DIR

TOOLCHAIN_PATH=toolchain/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin
TOOLCHAIN_REALPATH=$(realpath $TOOLCHAIN_PATH)
export PATH=${TOOLCHAIN_REALPATH}:${PATH}

export BBB_WS=$(pwd)

cd - > /dev/null
